POV-Ray : Newsgroups : povray.binaries.images : SCC4 wips : Re: SCC4 wips Server Time
5 Nov 2024 10:20:08 EST (-0500)
  Re: SCC4 wips  
From: Cousin Ricky
Date: 5 Oct 2006 17:25:00
Message: <web.45257763c31243f443a5e2560@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote:
>
> The grassy scene's currently a bit too long, and has a boring sky:
>
> light_source{99,.8-z/2}background{<.7,.8,.9>}#macro
> R(V)vturbulence(2,.5,6,V)#end#local i=0;#while(i<16384)#local
> p=mod(i,128)*(z-x)+(z+x)*i/128;#local
> p=p+R(p/70)*20;cone{p-5*y,.2,p+R(p/9)*5-3*x/*+2*z*/,0pigment{rgb
> y*2+z}}sphere{p-y*9,4pigment{rgb.9+z}}#local i=i+1;#end
>
> Any suggestions on how I can make those a few bytes shorter?

These are both for the original grass scene.

Remove the "+z" from the grass pigment.  The resulting color is a little
strong, but i think the hue is closer to most grasses.

Replace the background <.7,.8,.9> with <6,7,8>/9 to save one byte.  The
color is *slightly* darker, but the difference is barely noticeable.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.